package xyz.zinglizingli.novel.mapper;

import org.apache.ibatis.annotations.Param;
import xyz.zinglizingli.novel.po.NovelCatalog;
import xyz.zinglizingli.novel.po.NovelCatalogExample;

import java.util.List;

public interface NovelCatalogMapper {
    int countByExample(NovelCatalogExample example);

    int deleteByExample(NovelCatalogExample example);

    int deleteByPrimaryKey(Long id);

    int insert(NovelCatalog record);

    int insertSelective(NovelCatalog record);

    List<NovelCatalog> selectByExample(NovelCatalogExample example);

    NovelCatalog selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") NovelCatalog record, @Param("example") NovelCatalogExample example);

    int updateByExample(@Param("record") NovelCatalog record, @Param("example") NovelCatalogExample example);

    int updateByPrimaryKeySelective(NovelCatalog record);

    int updateByPrimaryKey(NovelCatalog record);
}